#include<stdio.h>
int main()
{
	long long a,b;
	char c;
	scanf("%lld%c%lld",&a,&c,&b);
	switch(c)
	{
		case '+':printf("%lld",a+b);break;
		case '-':printf("%lld",a-b);break;
		case '*':printf("%lld",a*b);break;
		case '%':b==0?printf("Error"):printf("%lld",a%b);break;
		case '/':b==0?printf("Error"):printf("%lld",a/b);break;
		default :printf("Error");
	}
    return 0;
}
